package com.bitdf.txing.group.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.bitdf.txing.common.entity.BaseEntity;
import com.bitdf.txing.group.valid.SaveVaild;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

/**
 * 
 * 
 * @author lizhiwei
 * @email 123@qq.com
 * @date 2023-02-04 12:23:05
 * 请求加入团队表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tx_gms_group_request_add")
public class GroupRequestAddEntity extends BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 请求者id
	 */
	@NotNull(message = "请求者id不能为空",groups = {SaveVaild.class})
	private Long requestUserId;
	/**
	 * 组团id
	 */
	@NotNull(message = "组团id不能为空",groups = {SaveVaild.class})
	private Long groupId;
	/**
	 * 状态（0：待同意 1：已通过 2：被拒绝）
	 */
	private Integer requestStatus;

}
